<template>
	<!-- 平台介绍 -->
	<view class="platform-introduction">
		<nav-bar :title="i18n.home.platform" @_back="_back" />
		<view class="container">
			<view class="title bold white-text">
				<text>The world's leading digital trading platform</text>
			</view>
			<view class="white-text">
				<u-parse :html="content"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
	import mixin from '@/utils/minix.js'
	export default {
		mixins: [mixin],
		computed: {
			i18n() {
				return this.$t('message');
			},
		},
		data() {
			return {
				content: `
					<p>露从今夜白，月是故乡明</p>
					<img src="https://cdn.uviewui.com/uview/swiper/2.jpg" />
				`
			}
		},
		methods: {
			_back() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.platform-introduction {
		.title {
			font-size: 36rpx;
			margin: 60rpx 0 50rpx;
		}
	}
</style>
